/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/27.
	 */
	var Input = __webpack_require__(4);
	var Password = __webpack_require__(21);
	var Button = __webpack_require__(3);
	var HyperLink = __webpack_require__(19);
	var FormItem = __webpack_require__(5);
	var GetCode = __webpack_require__(18);
	var Checkbox = __webpack_require__(8);

	var Root = React.createClass({displayName: "Root",
	    componentDidMount: function(){
	        UEventHub.emit("pageLoad","hello world!");

	        var PageDM = window.PageDM;
	        UEventHub.on(PageDM.imgCode.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT,function(v){
	            var _node = this.refs.imgcode;
	            _node.setAttribute('src',v);
	        }.bind(this));

	        UEventHub.on(PageDM.checkboxDM.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT,function(v){
	            PageDM.checkboxDM.onClick(v);
	        }.bind(this));
	    },
	    render: function() {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "header"}, 
	                    React.createElement("div", {className: "top-bar fc-light"}, 
	                        React.createElement("div", {className: "container"}, " ", React.createElement("span", null, "服务热线：0816-2373017"), " ", React.createElement("span", null, "服务时间：工作日 9:00-18:00"), " ", React.createElement("span", {className: "nav-right"}, " ", React.createElement("a", {href: "登录.html"}, "登录"), " ", React.createElement("a", {href: "注册.html"}, "注册"), " ", React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "帮助中心"), " ", React.createElement("a", {href: "../index.html"}, "返回绵阳商业银行"), " "), " ")
	                    ), 
	                    React.createElement("div", {className: "header-nav"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("div", {className: "logo f-left"}, 
	                                React.createElement("a", {href: "../index.html"}, React.createElement("img", {src: "../images/logo.jpg", alt: ""}), " "), 
	                                React.createElement("a", {href: "../index.html"}, React.createElement("img", {src: "../images/logoe.jpg", alt: ""}), " ")
	                            ), 
	                            React.createElement("div", {className: "nav f-right"}, 
	                                React.createElement("ul", {className: "clearfix"}, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../index.html"}, "首页")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要投资.html"}, "我要投资")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要借款.html"}, "我要借款")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../账户中心/我的账户.html"}, "我的账户"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "clear"})
	                        ), 
	                        React.createElement("div", {className: "shadow"})
	                    )
	                ), 

	                React.createElement("div", {className: "container mod-reg"}, " ", React.createElement("span", {className: "angle angle-top"}), " ", React.createElement("span", {className: "angle angle-bottom"}), 
	                    React.createElement("div", {className: "form"}, 
	                        React.createElement("div", {className: "reg-tab"}, 
	                            React.createElement("ul", null, 
	                                React.createElement("li", {className: "current"}, React.createElement("b", null, "个人注册"), React.createElement("span", {className: "bg"})), 
	                                React.createElement("li", null, "企业注册", React.createElement("span", {className: "bg"})), 
	                                React.createElement("div", {className: "clear"})
	                            )
	                        ), 
	                        React.createElement("div", {className: "form-reg"}, 
	                            React.createElement(FormItem, {label: PageDM.input1.label, id: PageDM.input1.id, dmbind: PageDM.input1.dmbind}, 
	                                React.createElement(Input, {className: "ucs-input", name: PageDM.input1.name, placeholder: "请输入手机号码", value: PageDM.input1.value, dmbind: PageDM.input1.dmbind})
	                            ), 
	                            React.createElement(FormItem, {label: PageDM.input2.label, dmbind: PageDM.input2.dmbind}, 
	                                React.createElement("input", {id: PageDM.input2.id, className: "ucs-input ucs-input-code", type: "text", name: PageDM.input2.name, placeholder: "请输入图形验证码", value: PageDM.input2.value, dmbind: PageDM.input2.dmbind}), 
	                                React.createElement(HyperLink, {text: React.createElement("img", {src: PageDM.imgCode.value, className: "f-left img-code", ref: "imgcode", style: {height:"40px"}}), onclick: PageDM.imgCode.onClick})
	                            ), 
	                            React.createElement(FormItem, {label: PageDM.msgDM.label, id: PageDM.msgDM.id, name: PageDM.msgDM.name, placeholder: "请输入短信验证码", value: PageDM.msgDM.value, dmbind: PageDM.msgDM.dmbind}, 
	                                React.createElement("input", {id: PageDM.msgDM.id, name: PageDM.msgDM.name, className: "ucs-input ucs-input-code", placeholder: "请输入短信验证码", value: PageDM.msgDM.value, dmbind: PageDM.msgDM.dmbind}), 
	                                React.createElement(GetCode, {id: PageDM.getBtnCode.id, className: "btn-code btn ucs-btn", ref: "getcode", count: PageDM.getBtnCode.count, onclick: PageDM.getBtnCode.onClick})
	                            ), 
	                            React.createElement(FormItem, {label: PageDM.pswDM.label, id: PageDM.pswDM.id, dmbind: PageDM.pswDM.dmbind}, 
	                                React.createElement(Password, {className: "ucs-input", name: PageDM.pswDM.name, placeholder: "请设置登录密码", value: PageDM.pswDM.value, dmbind: PageDM.pswDM.dmbind})
	                            ), 
	                            React.createElement(FormItem, {label: PageDM.pswDM2.label, id: PageDM.pswDM2.id, dmbind: PageDM.pswDM2.dmbind}, 
	                                React.createElement(Password, {className: "ucs-input", name: PageDM.pswDM2.name, placeholder: "请再次输入登录密码", value: PageDM.pswDM2.value, dmbind: PageDM.pswDM2.dmbind})
	                            ), 
	                            React.createElement(FormItem, {label: PageDM.tjDM.label, id: PageDM.tjDM.id, dmbind: PageDM.tjDM.dmbind}, 
	                                React.createElement(Input, {className: "ucs-input", name: PageDM.tjDM.name, placeholder: "请输入推荐码", value: PageDM.tjDM.value, dmbind: PageDM.tjDM.dmbind})
	                            ), 
	                            React.createElement("div", {className: "ucs-form-group"}, 
	                                React.createElement("label", null, " "), 
	                                React.createElement("div", {className: "input"}, 
	                                    React.createElement(Checkbox, {checked: PageDM.checkboxDM.setChecked, ref: "checkedbox", id: PageDM.checkboxDM.id, text: "我已阅读并同意", onclick: PageDM.checkboxDM.onClick, className: "reg-checkbox"}), 
	                                    React.createElement("a", {href: PageDM.URL.agreement, className: "fc-link"}, " 《 绵阳市商业银行平台服务协议（个人版）》 ")
	                                )
	                            ), 
	                            React.createElement("div", {className: "ucs-form-group auto-height"}, 
	                                React.createElement("label", null, " "), 
	                                React.createElement("div", {className: "input"}, 
	                                    React.createElement(Button, {value: "注册", id: PageDM.btn1.id, className: "btn-confirm btn btn-width", onclick: PageDM.btn1.onClick})
	                                )
	                            )
	                        ), 
	                        React.createElement("div", {className: "clear"})
	                    ), 
	                    React.createElement("div", {className: "reg-login"}, " ", React.createElement("span", {className: "or"}, "or"), 
	                        React.createElement("div", {className: "txt"}, 
	                            React.createElement("p", null, "已有平台账号"), 
	                            React.createElement("p", null, React.createElement("a", {href: PageDM.URL.login, className: "fc-link"}, " 直接登录", React.createElement("i", {className: "icon-go iconfont"})))
	                        )
	                    )
	                ), 

	                React.createElement("div", {className: "footer"}, 
	                    React.createElement("div", {className: "container"}, 
	                        React.createElement("div", {className: "footer-logo f-left"}, 
	                            React.createElement("p", {className: "logo-foot"}, React.createElement("img", {src: "../images/foot-logo.png", alt: ""})), 
	                            React.createElement("p", {className: "txt"}, "2005－2013 绵阳市商业银行股份有限公司 ", React.createElement("a", {href: "http://www.miitbeian.gov.cn", target: "_blank"}, "粤ICP备11013283123号"), " ")
	                        ), 
	                        React.createElement("div", {className: "footer-nav f-right"}, 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "关于我们"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "平台介绍")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/名词解释.html"}, "名词解释")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/联系我们.html"}, "联系我们")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/服务协议.html"}, "服务协议"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "安全保障"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "项目安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "资金安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "信息安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "账户安全"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "帮助中心"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/投资操作指引.html"}, "投资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/融资操作指引.html"}, "融资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台公告.html"}, "平台公告")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "javascript:;"}, "常见问题"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col col-service"}, 
	                                React.createElement("p", null, "客服专线", React.createElement("br", null), "0816-2373017"), 
	                                React.createElement("p", null, "服务时间", React.createElement("br", null), "工作日9:00 - 18:00")
	                            )
	                        ), 
	                        React.createElement("div", {className: "clear"})
	                    )
	                )
	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('main'));

/***/ },
/* 1 */,
/* 2 */,
/* 3 */
/***/ function(module, exports) {

	var Button = React.createClass({displayName: "Button",
		config:{
	        id:""
	    },
		render: function() {
			var customClassNameArr=this.props.className?this.props.className.split(' '):'';
	        var customClassName ='ucs-btn';
	        if(customClassNameArr.length>0){
	            for(var i=0;i<customClassNameArr.length;i++){
	                customClassName=customClassNameArr[i]+' '+customClassName;
	            }
	        }
			this.props.className = customClassName;
			var id = this.props.id?this.props.id:'';
			if(this.props.href){
				return React.createElement("a", {id: id, onclick: this.props.onclick, className: this.props.className, href: this.props.href}, this.props.value)
			}else{
				return React.createElement("button", {id: id, onclick: this.props.onclick, className: this.props.className}, this.props.value)
			}
		}
	})
	module.exports = Button;

/***/ },
/* 4 */
/***/ function(module, exports) {

	var Input =  React.createClass({displayName: "Input",
		getDefaultProps:function(){
			return {
				className:'ucs-input',
				dmbind:'',
				placeholder:"",
				onfocus:"",
				onblur:""
			};
		},
		handler:function(){
			console.log('adfdfdf');
		},
		render:function(){
			return React.createElement("input", {type: "text", className: this.props.className, dmbind: this.props.dmbind, placeholder: this.props.placeholder, onfocus: this.props.onfocus, onblur: this.props.onblur})
		}
	})
	module.exports = Input;

/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/1.
	 */
	var Label = __webpack_require__(6);

	var FormItem = React.createClass({displayName: "FormItem",
	    getDefaultProps:function(){
	        return{
	            id:"",
	            label:"",
	            dmbind:"",
	            className:"",
	            correctMsg:''
	        }
	    },
	    render:function(){
	        var _udmid = this.props.dmbind;
	        UEventHub.on(_udmid + UI_EVENT_CONST.ONVALIDATE_EVENT,function(msg){
	            var tipNode = this.refs[_udmid],
	                tipInner,
	                _msg = msg;
	            if(!_msg){
	                tipInner = React.createElement("div", null, React.createElement("i", {className: "iconfont icon-correct"}), this.props.correctMsg);
	                tipNode.className = "ucs-form-explain success";
	            }else{
	                tipInner = React.createElement("div", null, React.createElement("i", {className: "iconfont icon-error"}), React.createElement("span", null, _msg));
	                tipNode.className = "ucs-form-explain";
	            }
	            tipNode.innerHTML = tipInner.innerHTML;
	        }.bind(this));
	        return(
	            React.createElement("div", {className: "ucs-form-group " + this.props.className, id: this.props.id}, 
	                React.createElement(Label, {value: this.props.label}), 
	                
	                    this.props.children.map(function(item,idx){
	                        return item;
	                    }), 
	                
	                React.createElement("div", {className: "ucs-form-explain", ref: this.props.dmbind})
	            )
	        )
	    }
	});

	module.exports = FormItem;

/***/ },
/* 6 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var Label = React.createClass({displayName: "Label",
	    getDefaultProps:function(){
	        return {
	            id:"",
	            setFor:"",
	            value:"这是Label",
	            className:""
	        }
	    },
	    render:function(){
	        return(
	            React.createElement("label", {id: this.props.id, For: this.props.setFor, className: "ucs-label "+this.props.className}, this.props.value)
	        )
	    }
	});
	module.exports = Label;

/***/ },
/* 7 */,
/* 8 */
/***/ function(module, exports) {

	var Checkbox = React.createClass({displayName: "Checkbox",
	    getDefaultProps:function(){
	        return{
	            id: "",
	            value: ""
	        }
	    },
	    handler: function (e) {
	        var _input = e.target || e.srcElement,
	            _checked = _input.checked;
	        this.props.onclick && this.props.onclick(_checked);
	    },
	    render: function () {
	        var checked = this.props.checked ? true : false;
	        var className = this.props.className;
	        var text = this.props.text ? this.props.text : '';
	        return (
	            React.createElement("label", {className: className ? "ucs-checkbox " + className : "ucs-checkbox"}, 
	                React.createElement("input", {type: "checkbox", checked: checked, id: this.props.id, value: this.props.value, className: "ucs-checkbox-input", 
	                       onclick: this.handler.bind(this)}), 
	                React.createElement("span", {className: "ucs-checkbox-text"}, text)
	            )
	        )
	    }
	});

	module.exports = Checkbox;




/***/ },
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/10.
	 */

	var GetCode = React.createClass({displayName: "GetCode",
	    getDefaultProps:function(){
	        return{
	            text:"获取验证码",
	            count: 10
	        }
	    },
	    _getCoce:function(){

	        if(this.props.onclick()){

	        }
	    },
	    render:function(){
	        var _this = this;
	        //事件监听
	        UEventHub.on('getcode',function(v){
	            if(v){
	                var count = _this.props.count,
	                    className = _this.props.className,
	                    text = _this.props.text;
	                var _node = _this.refs['set-'+_this.props.ref];
	                _node.className = "ucs-btn ucs-btn-disabled "+className;
	                _node.innerHTML = count + "秒后重新获取";
	                _node.disabled = true;
	                var time = setInterval(function(){
	                    if(count > 0){
	                        count--;
	                        _node.innerHTML = count + "秒后重新获取";
	                    }else{
	                        clearInterval(time);
	                        _node.className = "ucs-btn "+className;
	                        _node.innerHTML = text;
	                        _node.disabled = false;
	                    }
	                },1000);
	            }
	        });
	        return(
	            React.createElement("button", {ref: "set-" + this.props.ref, onclick: this.props.onclick, className: "ucs-btn "+this.props.className}, this.props.text)
	        )
	    }
	});
	module.exports = GetCode;

/***/ },
/* 19 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/20.
	 */
	var HyperLink = React.createClass({displayName: "HyperLink",
	    getDefaultProps:function(){
	        return {
	            "id":"",
	            "className":"",
	            "href":"javascript:void(0)",
	            "text":""
	        }
	    },
	    render:function(){
	        return (
	            React.createElement("a", {id: this.props.id, className: "ucs-hyper-link "+this.props.className, href: this.props.href, onclick: this.props.onclick}, this.props.text)
	        )
	    }
	});

	module.exports = HyperLink;

/***/ },
/* 20 */,
/* 21 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/21.
	 */
	var Password = React.createClass({displayName: "Password",
	    getDefaultProps:function(){
	        return{
	            "id":"",
	            "value":"",
	            "className":"",
	            "placeholder":"请输入密码",
	            "onkeypress":""
	        }
	    },
	    _getNode:function(nid){
	        var _nodes = document.getElementsByTagName('div'),
	            _getNode;
	        for(var i in _nodes){
	            if(_nodes[i].refs == nid){
	                _getNode = _nodes[i];
	            }
	        }
	        return _getNode;
	    },
	    _handle:function(e){
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if(_nodeSpan.className == "ucs-placeholder"){
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder:function(_this){
	        if (!('placeholder' in document.createElement('input'))){
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onclick: _this._handle}, _this.props.placeholder)
	            );
	        }else{
	            return "";
	        }
	    },
	    _onBlur:function(e){
	        if (!('placeholder' in document.createElement('input'))){
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if(!_nodeInput.value){
	                _nodeSpan.className = "ucs-placeholder";
	            }
	        }else{
	            return;
	        }
	    },
	    render:function(){
	        var _this = this;
	        return (
	            React.createElement("div", {className: "ucs-input-control"}, 
	                React.createElement("input", {
	                    id: this.props.id, 
	                    className: "ucs-password " + this.props.className, 
	                    type: "password", 
	                    value: this.props.value, 
	                    placeholder: this.props.placeholder, 
	                    onkeypress: this.props.onkeypress, 
	                    onblur: this._onBlur}), 
	                this._placeholder(_this)
	            )
	        )
	    }
	});

	module.exports = Password;

/***/ }
/******/ ]);